import server from "../server/http"
// 轮播图请求
const getBanners = async function () {
    var { data } = await server.get('/small4/banner/list')
    return Promise.resolve(data.data)
}
export {
    getBanners
}
// 全民砍价请求
const kanjia = async function () {
    var { data } = await server.get('/small4/shop/goods/kanjia/list')
    return Promise.resolve(data.data)
}
export {
    kanjia
}
// 精选专题请求
const special = async function () {
    var { data } = await server.get('/small4/cms/news/list')
    return Promise.resolve(data.data)
}

export {
    special
}
